package com.ruoyi.zyc.ts.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 天数对象 zyc_ts
 *
 * @author huacai
 * @date 2024-12-30
 */
public class Ts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 天数Id */
    private Integer tsId;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rq;

    /** 天数 */
    @Excel(name = "天数")
    private String ts;

    public void setTsId(Integer tsId)
    {
        this.tsId = tsId;
    }

    public Integer getTsId()
    {
        return tsId;
    }
    public void setRq(Date rq)
    {
        this.rq = rq;
    }

    public Date getRq()
    {
        return rq;
    }
    public void setTs(String ts)
    {
        this.ts = ts;
    }

    public String getTs()
    {
        return ts;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tsId", getTsId())
            .append("rq", getRq())
            .append("ts", getTs())
            .toString();
    }
}
